package blog.service;

import blog.common.Result;
import blog.entity.Article;
import blog.entity.Login;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jjpzh
 * @since 2023-02-25
 */
public interface ArticleService extends IService<Article> {

    Result findAllArticle(int current, int size);

    Result findArticleByType(int current, int size, int typeId);

    Result addArticleVisitCount(int id);

    Result findArticleByTitle(int current, int size, String title);

    Result findArticleFromAtoB(int a, int b);


}
